<?php
	jimport('joomla.application.component.view');
	class kinh_doanhViewxu_ly_don_hang extends JView
	{    
		function display($tpl=null)
		{
                    $model = $this->getModel();
                    $id_product = $_POST['hidid'];
                    $id_a_b = $_POST['hid_a_b'];  
                    $id_cur = $_POST['hid_cur'];  
                    $id_cus = $_POST['txtmkh']; 
                    $sl = $_POST['txtsoluong']; 
                    $cp = $_POST['id_cup'];
                    $tt = $_POST['hid_tt']; 
                    $pt = $_POST['txtkhachdua']; 
                    
                    $model->xu_ly($id_a_b,$id_product,$cp,$id_cus,$sl,$pt,$tt,$id_cur);		  
		}
    }
?>